package sk.upjs.ariadne.editor.data;

import java.util.*;

public class MapElement {

	private Map<String, String> properties = new HashMap<String, String>();

	private String id;
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public void setProperty(String name, String value) {
		properties.put(name, value);
	}

	public String getProperty(String name) {
		return properties.get(name);
	}

	public Set<String> getPropertyNames() {
		return properties.keySet();
	}
}
